<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8"/>
    <title>详情</title>
    <meta name="keywords" content="">
    <meta name="description" content="">
    <meta name="renderer" content="webkit">
    <meta http-equiv="Cache-Control" content="no-siteapp"/>
    <meta name="mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="format-detection" content="telephone=no,email=no,address=no"/>
    <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
    <link rel="stylesheet" href="../css/common.css"/>
    <link rel="stylesheet" href="../css/main.css"/>
</head>
<body>
    <article>
        <section class="plr24 bw">
            <div class="bdb flex_a h100">
                <img src="../img/ico30.png" style="width: .5rem;">
                <span class="ml20">充值</span>
            </div>
            <div class="flex_sb lh110">
                <span>充值金额</span>
                <cite class="color2 font19">+￥50.00</cite>
            </div>
        </section>
        <div class="ptb20 plr24 bw col9 mt20">
            <p>充值时间: 2018-06-09 12:15:32</p>
            <p class="mt10">支付方式: 微信支付</p>
            <p class="mt10">流水号: 4634343</p>
            <p class="mt10">状态: 成功</p>
        </div>
    </article>
</body>
</html>
<script src="../js/jquery-1.8.3.min.js"></script>
<script src="../js/dlc.js"></script>
<script>
    dlc_request('/api/walletDetail/queryWdInfo',{'id':getUrlParam('id')},function(res){
        console.log(res);
        if(res.code == 1){
            var res = res.data;
            var str = '';
            str+='<section class="plr24 bw">'+
                    '<div class="bdb flex_a h100">'+
                    '<img src="../img/ico30.png" style="width: .5rem;">'+
                    '<span class="ml20">'+(res.type==1?'提现':res.type==2?'收入':res.type==3?'充值':'广告消费')+'</span>'+
                    '</div>'+
                    '<div class="flex_sb lh110">'+
                    '<span>'+(res.type==1?'提现':res.type==2?'收入':res.type==3?'充值':'消费')+'金额</span>'+
                    '<cite class="color2 font19">'+((res.type==2 || res.type == 3)?'+':'-')+'￥'+res.money+'</cite>'+
                    '</div>'+
                    '</section>'+
                    '<div class="ptb20 plr24 bw col9 mt20">'+
                    '<p>'+(res.type==1?'提现时间':res.type==2?'收入时间':res.type==3?'充值时间':'消费时间')+': '+format(res.createTime,'Y-m-d H:i:s')+'</p>'+
                    '<p class="mt10">'+(res.type==1?'提现到':res.type==2?'类型':res.type==3?'支付方式':'类型')+': '+(res.type==3?"微信支付":"广告消费")+'</p>'+
                    '<p class="mt10">流水号: '+res.orderNo+'</p>'+
                    '<p class="mt10">状态: '+(res.status==1?'审核中':res.status==2?'审核失败':res.status==3?'已完成':res.status==4?'提现中':res.status==5?'提现失败':res.status==6?'充值失败':'未知状态')+'</p>';
            if(res.reason){
                str+='<p class="mt10">原因: '+res.reason+'</p>';
            }
            str+='</div>';
            $('article').html(str);
        }else{
            dlctipbox.show(res.msg);
        }
    });
</script>






















